Platform Explorer / Nuxeo Platform 5.8

Extension point engines

Contribution Descriptors

  • Class: org.nuxeo.theme.engines.EngineType

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-theme-editor-5.8.jar
    <extension point="engines" target="org.nuxeo.theme.services.ThemeService">
    
        <!-- This engine renders the theme editor's UI -->
        <engine name="editor">
    
          <renderer element="theme">
            <filter>add widget</filter>
            <filter>collect xmlns</filter>
          </renderer>
    
          <renderer element="page"/>
    
          <renderer element="section"/>
    
          <renderer element="cell"/>
    
          <renderer element="fragment"/>
    
        </engine>
    
        <!-- This engine renders the editor view of the page canvas -->
        <engine name="page-editor">
    
          <renderer element="theme">
            <filter>add widget</filter>
            <filter>collect xmlns</filter>
          </renderer>
    
          <renderer element="page">
            <filter>add widget</filter>
            <filter>collect xmlns</filter>
            <filter>set style</filter>
            <filter>set layout</filter>
            <filter>set element id</filter>
            <filter>create initial section</filter>
          </renderer>
    
          <renderer element="section">
            <filter>add widget</filter>
            <filter>set element name</filter>
            <filter>remove scripts</filter>
            <filter>set style</filter>
            <filter>set layout</filter>
            <filter>set element id</filter>
          </renderer>
    
          <renderer element="cell">
            <filter>add widget</filter>
            <filter>set element name</filter>
            <filter>set style</filter>
            <filter>set layout</filter>
            <filter>set element id</filter>
            <filter>insert json model</filter>
          </renderer>
    
          <renderer element="fragment">
            <filter>add widget</filter>
            <filter>set element name</filter>
            <filter>set style</filter>
            <filter>write fragment tag</filter>
            <filter>control fragment visibility</filter>
            <filter>make draggable</filter>
            <filter>set element id</filter>
            <filter>insert json model</filter>
          </renderer>
    
        </engine>
    
        <!-- This engine renders all fragments in a linearized fashion -->
        <engine name="fragments-only">
    
          <renderer element="theme">
            <filter>add widget</filter>
            <filter>collect xmlns</filter>
          </renderer>
    
          <renderer element="page">
            <filter>add widget</filter>
          </renderer>
    
          <renderer element="section"/>
    
          <renderer element="cell"/>
    
          <renderer element="fragment">
            <filter>add widget</filter>
            <filter>add identifiable container</filter>
            <filter>write fragment tag</filter>
          </renderer>
    
        </engine>
    
        <!-- This engine renders fragment previews -->
        <engine name="preview">
    
          <renderer element="theme"/>
    
          <renderer element="page"/>
    
          <renderer element="section"/>
    
          <renderer element="cell"/>
    
          <renderer element="fragment">
            <filter>add widget</filter>
            <filter>set style</filter>
            <filter>write fragment tag</filter>
          </renderer>
    
        </engine>
    
      </extension>
  • nuxeo-theme-html-5.8.jar
    <extension point="engines" target="org.nuxeo.theme.services.ThemeService">
    
        <engine name="default">
    
          <renderer element="theme">
            <filter>add widget</filter>
            <filter>collect xmlns</filter>
          </renderer>
    
          <renderer element="page">
            <filter>add widget</filter>
            <filter>set layout</filter>
            <filter>set style</filter>
          </renderer>
    
          <renderer element="section">
            <filter>add widget</filter>
            <filter>set element name</filter>
            <filter>set layout</filter>
            <filter>set style</filter>
          </renderer>
    
          <renderer element="cell">
            <filter>add widget</filter>
            <filter>set element name</filter>
            <filter>set layout</filter>
            <filter>set style</filter>
          </renderer>
    
          <renderer element="fragment">
            <filter>control fragment visibility</filter>
            <filter>add widget</filter>
            <filter>set element name</filter>
            <filter>set style</filter>
            <filter>write fragment tag</filter>
          </renderer>
    
        </engine>
    
      </extension>